package com.second.app.generic;

public class ComparableExample <T extends Comparable<T>>{

    private T value;

    public boolean isGreaterThan(T otherValue){
        return value.compareTo(otherValue) > 0;
    }
}
